const userStore = {
    namespaced: true,
    state: {
        username: "username",
        age: 0,
        count: 0
    },
    mutations: {
        increAge(state){
            state.age++;
        },
        incre(state) {
            state.count++;
        }
    },
    actions: {
        increAge({commit}){
            commit("increAge");
        }
    }
}; 

export default userStore;
